//
//  DataModel.h
//  FlowTest
//
//  Created by yan on 2020/11/24.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, OrderType)
{
    OrderTypeContact = 0,
    OrderTypeHome,
    OrderTypeWaiting,
    OrderTypeTransport,
    OrderTypeAccept,
    OrderTypeHandle,
    OrderTypeUnAgree,
    OrderTypeReject,
    OrderTypeClose,
    OrderTypeAgree,
    OrderTypeConfirmed,
    OrderTypeComplete,
    OrderTypeAll
};

@interface DeviceModel : NSObject
@property(strong,nonatomic)NSString *deviceType;
@property(strong,nonatomic)NSString *deviceName;
@property(strong,nonatomic)NSString *devicePosition;
@end

@interface DataModel : NSObject
@property(strong,nonatomic)NSString *title;
@property(strong,nonatomic)NSString *time;
@property(strong,nonatomic)NSString *name;
@property(assign,nonatomic)BOOL isMsg;
@property(assign,nonatomic)BOOL isGuarantee;
@property(strong,nonatomic)NSString *price;
@property(strong,nonatomic)NSString *orderNo;
@property(strong,nonatomic)DeviceModel *device;
@property(assign,nonatomic)OrderType status;
@end




NS_ASSUME_NONNULL_END
